<template>
  <div class="RecommedFood">
    <div class="title">
      <span>推荐菜</span>
    </div>
    <div class="food">
      <span class="recommend_food" v-for="(item,index) in food" :key="index">{{item}}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "RecommedFood",
  data() {
    return {
      food: [
        "红锅",
        "鸭肠",
        "猪黄喉",
        "小郡肝",
        "毛肚",
        "油碟",
        "鸳鸯锅",
        "豆芽",
        "苕粉",
        "土豆",
        "金针菇",
        "鲜鸭血",
        "鹌鹑蛋",
        "香菜丸子",
        "五花肉",
        "千层肚"
      ]
    };
  }
};
</script>

<style scoped>
.RecommedFood {
  border-top: 1px solid #ddd8ce;
  border-bottom: 1px solid #ddd8ce;
  margin-top: 0.2rem;
  margin-bottom: 0;
  background-color: #fff;
}
.title {
  font-size: 0.35rem;
  color: #333;
  padding: 0.25rem 0.2rem 0.25rem 0;
  margin-left: 0.2rem;
  border-bottom: 1px solid #ddd8ce;
  overflow: hidden;
  font-weight: 400;
  position: relative;
  display: flex;
  justify-content: flex-start;
}
.food {
  max-height: 1.4rem;
  padding-bottom: 0;
  margin-bottom: 0.05rem;
  overflow: hidden;
  font-weight: 400;
  position: relative;
  padding: 0.28rem 0.2rem;
  text-align: justify;
}
.recommend_food {
  font-size: 0.3rem;
  color: #333;
  font-weight: normal;
  margin-right: 0.24rem;
  margin-bottom: 0.17rem;
  display: inline-block;
}
</style>
